﻿@model IEnumerable<EventPlanner.Models.AuditInfo>

@{
    ViewBag.Title = "Index";
}

<h2>Log</h2>

<p>
   
</p>
<table>
    <tr>
    <th>DB ID</th>
        <th>
            EntityType
        </th>
        <th>
            EntityName
        </th>
        <th>
            EntityAction
        </th>
        <th>
            EntityUpdatedDate
        </th>
        <th>
            EntityCreatedDate
        </th>
        <th>
            EntityDeletedDate
        </th>
        <th>
            User
        </th>

    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
        @Html.DisplayFor(modelItem => item.EntityDbId)
        </td>        
        <td>
            @Html.DisplayFor(modelItem => item.EntityType)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EntityName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EntityAction)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EntityUpdatedDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EntityCreatedDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EntityDeletedDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.EntityUser)
        </td>
    </tr>
}

</table>
<p></p>
@Html.Partial("_Navegacion_Audit",Model)